package com.cn.wanxi.service.impl;

import com.cn.wanxi.dao.NewsDao;
import com.cn.wanxi.dao.impl.NewsImpl;
import com.cn.wanxi.model.NewsModel;
import com.cn.wanxi.service.INewsService;

import java.util.List;

public class NewsServiceImpl implements INewsService {
    @Override
    public List<NewsModel> getNewsListForHome() {
        NewsDao newsDao=new NewsImpl();
        return newsDao.getNewsListForHome();
    }
}
